/*
 * itm_stream.h
 *
 *  Created on: 2021-08-05
 *      Author: chenss
 */

#ifndef INC_STREAM_ITM_STREAM_H_
#define INC_STREAM_ITM_STREAM_H_

#include "stream/io_stream.h"

typedef IoStream_t ItmStream_t;

int ItmStream_Init(ItmStream_t *itm, int channel);
static inline void ItmStream_DeInit(ItmStream_t *itm)
{
    Stream_DeInit(& itm->stream);
}

#if 0
void ItmStream_SetReceiver(ItmStream_t *itm);
void ItmStream_Receive(void);
#endif

#endif /* INC_STREAM_ITM_STREAM_H_ */
